package com.api.manage.pojo.system;

import com.api.manage.base.PageBean;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 分公司 分店
 * </p>
 *
 * @author 腾木
 * @since 2023-11-17
 */
@Data
@NoArgsConstructor
@ApiModel(value="SysBranchOffice对象", description="分公司 分店")
public class SysBranchOfficeBean extends PageBean implements Serializable {

    private static final long serialVersionUID=456587808901L;

    @ApiModelProperty(value = "分公司")
    private Long sysBranchOfficeId;

    @ApiModelProperty(value = "企业ID")
    private Long sysCompanyId;

    @ApiModelProperty(value = "默认系统")
    private Long defaultSystemLevelId;

    @ApiModelProperty(value = "企业名称")
    private String sysCompanyIdName;

    @ApiModelProperty(value = "编码")
    private String officeNo;

    @ApiModelProperty(value = "所属区域")
    private String regionPath;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "负责人")
    private String bossName;

    @ApiModelProperty(value = "电话")
    private String telephone;

    @ApiModelProperty(value = "名称")
    private String officeName;

    @ApiModelProperty(value = "序号")
    private Integer sort;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String msg;

    @ApiModelProperty(value = "系统")
    private List<SystemLevelBranchBean> systemLevelBranchList;
}
